package Demo2;


    public class B extends A{

        private int num = 1;
        public B(){
            super();
        }
        public void fun1(){
            System.out.println("B : 哈哈哈..." + num);
        }

    }
